
package com.derbysoft.dswitch.adapter.ihg.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Rate complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Rate">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Base" type="{http://www.opentravel.org/OTA/2003/05}AvailBase" minOccurs="0"/>
 *         &lt;element name="AdditionalGuestAmounts" type="{http://www.opentravel.org/OTA/2003/05}AdditionalGuestAmounts" minOccurs="0"/>
 *         &lt;element name="Fees" type="{http://www.opentravel.org/OTA/2003/05}Fees" minOccurs="0"/>
 *         &lt;element name="CancelPolicies" type="{http://www.opentravel.org/OTA/2003/05}CancelPolicies" minOccurs="0"/>
 *         &lt;element name="PaymentPolicies" type="{http://www.opentravel.org/OTA/2003/05}PaymentPolicies" minOccurs="0"/>
 *         &lt;element name="Total" type="{http://www.opentravel.org/OTA/2003/05}Total" minOccurs="0"/>
 *         &lt;element name="RateDescription" type="{http://www.opentravel.org/OTA/2003/05}RateDescription" minOccurs="0"/>
 *         &lt;element name="TPA_Extensions" type="{http://www.opentravel.org/OTA/2003/05}Extension" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="AgeQualifyingCode" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Rate", namespace = "http://www.opentravel.org/OTA/2003/05", propOrder = {
    "base",
    "additionalGuestAmounts",
    "fees",
    "cancelPolicies",
    "paymentPolicies",
    "total",
    "rateDescription",
    "tpaExtensions"
})
public class Rate {

    @XmlElement(name = "Base", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected AvailBase base;
    @XmlElement(name = "AdditionalGuestAmounts", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected AdditionalGuestAmounts additionalGuestAmounts;
    @XmlElement(name = "Fees", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected Fees fees;
    @XmlElement(name = "CancelPolicies", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected CancelPolicies cancelPolicies;
    @XmlElement(name = "PaymentPolicies", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected PaymentPolicies paymentPolicies;
    @XmlElement(name = "Total", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected Total total;
    @XmlElement(name = "RateDescription", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected RateDescription rateDescription;
    @XmlElement(name = "TPA_Extensions", namespace = "http://www.opentravel.org/OTA/2003/05")
    protected Extension tpaExtensions;
    @XmlAttribute(name = "AgeQualifyingCode")
    protected Integer ageQualifyingCode;

    /**
     * Gets the value of the base property.
     * 
     * @return
     *     possible object is
     *     {@link AvailBase }
     *     
     */
    public AvailBase getBase() {
        return base;
    }

    /**
     * Sets the value of the base property.
     * 
     * @param value
     *     allowed object is
     *     {@link AvailBase }
     *     
     */
    public void setBase(AvailBase value) {
        this.base = value;
    }

    /**
     * Gets the value of the additionalGuestAmounts property.
     * 
     * @return
     *     possible object is
     *     {@link AdditionalGuestAmounts }
     *     
     */
    public AdditionalGuestAmounts getAdditionalGuestAmounts() {
        return additionalGuestAmounts;
    }

    /**
     * Sets the value of the additionalGuestAmounts property.
     * 
     * @param value
     *     allowed object is
     *     {@link AdditionalGuestAmounts }
     *     
     */
    public void setAdditionalGuestAmounts(AdditionalGuestAmounts value) {
        this.additionalGuestAmounts = value;
    }

    /**
     * Gets the value of the fees property.
     * 
     * @return
     *     possible object is
     *     {@link Fees }
     *     
     */
    public Fees getFees() {
        return fees;
    }

    /**
     * Sets the value of the fees property.
     * 
     * @param value
     *     allowed object is
     *     {@link Fees }
     *     
     */
    public void setFees(Fees value) {
        this.fees = value;
    }

    /**
     * Gets the value of the cancelPolicies property.
     * 
     * @return
     *     possible object is
     *     {@link CancelPolicies }
     *     
     */
    public CancelPolicies getCancelPolicies() {
        return cancelPolicies;
    }

    /**
     * Sets the value of the cancelPolicies property.
     * 
     * @param value
     *     allowed object is
     *     {@link CancelPolicies }
     *     
     */
    public void setCancelPolicies(CancelPolicies value) {
        this.cancelPolicies = value;
    }

    /**
     * Gets the value of the paymentPolicies property.
     * 
     * @return
     *     possible object is
     *     {@link PaymentPolicies }
     *     
     */
    public PaymentPolicies getPaymentPolicies() {
        return paymentPolicies;
    }

    /**
     * Sets the value of the paymentPolicies property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaymentPolicies }
     *     
     */
    public void setPaymentPolicies(PaymentPolicies value) {
        this.paymentPolicies = value;
    }

    /**
     * Gets the value of the total property.
     * 
     * @return
     *     possible object is
     *     {@link Total }
     *     
     */
    public Total getTotal() {
        return total;
    }

    /**
     * Sets the value of the total property.
     * 
     * @param value
     *     allowed object is
     *     {@link Total }
     *     
     */
    public void setTotal(Total value) {
        this.total = value;
    }

    /**
     * Gets the value of the rateDescription property.
     * 
     * @return
     *     possible object is
     *     {@link RateDescription }
     *     
     */
    public RateDescription getRateDescription() {
        return rateDescription;
    }

    /**
     * Sets the value of the rateDescription property.
     * 
     * @param value
     *     allowed object is
     *     {@link RateDescription }
     *     
     */
    public void setRateDescription(RateDescription value) {
        this.rateDescription = value;
    }

    /**
     * Gets the value of the tpaExtensions property.
     * 
     * @return
     *     possible object is
     *     {@link Extension }
     *     
     */
    public Extension getTPAExtensions() {
        return tpaExtensions;
    }

    /**
     * Sets the value of the tpaExtensions property.
     * 
     * @param value
     *     allowed object is
     *     {@link Extension }
     *     
     */
    public void setTPAExtensions(Extension value) {
        this.tpaExtensions = value;
    }

    /**
     * Gets the value of the ageQualifyingCode property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getAgeQualifyingCode() {
        return ageQualifyingCode;
    }

    /**
     * Sets the value of the ageQualifyingCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setAgeQualifyingCode(Integer value) {
        this.ageQualifyingCode = value;
    }

}
